import { createRouter, createWebHistory } from 'vue-router'
import QuickExam from '../components/examPage/QuickExam.vue'

const routes = [
    {
        path: '/QuickExam',
        component: QuickExam,
        name: "QuickExam"
    },
    {
        path: '/historyExam',
        name: 'historyExam',
        component: () => import('../components/examPage/HistoryExam.vue')
        // component: HistoryExam
    },
    {
        path: '/noteHome',
        name: 'noteHome',
        component: () => import('../components/notePage/NoteHome.vue')
        // component: HistoryExam
    },
    {
        path: '/add',
        name: 'add',
        component: () => import('../components/add/addPage.vue'),
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router